<?php
/**
 * Class inserts neccery code for initialize rich text editor ElRTE
 */
class Control_View_Helper_EnableElRTE extends Zend_View_Helper_Abstract{

	public function enableElRTE() {
		$elrte_base_uri = "/js/elrte/";

//                $this->headLink()->appendStylesheet("{$elrte_base_uri}css/smoothness/jquery-ui-1.8.7.custom.css");
                $this->headLink()->appendStylesheet("{$elrte_base_uri}css/elrte.min.css");
                $this->headScript()->appendFile("{$elrte_base_uri}js/jquery-1.4.4.min.js");
                $this->headScript()->appendFile("/js/jquery.miin.js");
                $this->headScript()->appendFile("{$elrte_base_uri}js/jquery-ui-1.8.7.custom.min.js");
		$this->headLink()->appendStylesheet("{$elrte_base_uri}css/elrte.full.css");
		$this->headScript()->appendFile("{$elrte_base_uri}js/elrte.min.js");
		$this->headScript()->appendFile("{$elrte_base_uri}js/i18n/elrte.ru.js");
   	}
}
